package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/index")
    public String index(){
        return "test/index";
    }

    @RequestMapping("/add")
    public String add(){
        return "test/add";
    }

    @RequestMapping("/update")
    public String update(){
        return "test/update";
    }

    @RequestMapping("/delete")
    public String delete(){
        return "test/delete";
    }

    @RequestMapping("/list")
    public String list(){
        return "test/list";
    }
}
